package session

import (
	"fmt"
	"github.com/gin-contrib/sessions/redis"
	"social-app/config"
)

var (
	SessionStore redis.Store
)

func init() {
	SessionStore, _ = redis.NewStore(10, "tcp", fmt.Sprintf("%s:%s", config.RedisHost, config.RedisPort), config.RedisPassword, []byte("secret"))
}
